package com.xxg.renrenorder.service;

import com.xxg.renrencommon.domain.result.BaseResult;
import com.xxg.renrenorder.dao.bean.CommissionSettingInfo;
import com.xxg.renrenorder.domain.query.ListCommissionQuery;
import com.xxg.renrenorder.domain.query.SaveCommissionQuery;

import java.util.List;

/**
 * 类说明
 *
 * @author szj
 * @date 2022/1/4
 */
public interface CommissionSettingService {
    /**
     * 查询手续费信息
     *
     * @return BaseResult<List < CommissionSettingInfo>>
     */
    BaseResult<List<CommissionSettingInfo>> list();

    /**
     * 保存手续费信息
     *
     * @param query 保存手续费信息
     * @return BaseResult<Void>
     */
    BaseResult<Void> save(SaveCommissionQuery query);
}
